package com.demo.personalaccountingbackend.dto;

import lombok.Data;
import jakarta.validation.constraints.NotBlank;
/**
 * 类描述信息
 *
 * @author zgx
 * @version 1.0
 * @date 2025/10/20 14:59
 */
@Data
public class LoginDTO {

    @NotBlank(message = "用户名不能为空")
    private String username;

    @NotBlank(message = "密码不能为空")
    private String password;
}

